package com.heima.wemedia.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.heima.model.wemedia.dtos.NewsAuthDTO;
import com.heima.model.wemedia.pojos.WmUser;
import com.heima.model.wemedia.vos.WmNewsVO;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface WmUserMapper extends BaseMapper<WmUser> {

    @Select("SELECT * FROM `wm_user`WHERE id = #{id}")
    WmUser getWmUser(@Param("id") Integer id);
}